<%@ page import="AdminController.AdminCheck.AdminCheckBean" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	AdminCheckBean mappinglist[] = (AdminCheckBean[])request.getAttribute("mappinglist");	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="STYLESHEET" type="text/css" href="/KOMORIUTA/page/page.css">
<script src="/KOMORIUTA/Manage/jquery.js" type="text/javascript"></script>
<script src="/KOMORIUTA/Manage/manage.js" type="text/javascript"></script>
</head>
<body>
<form id="people" method="post" action="/KOMORIUTA/AdminCheck.do">
<input type="hidden" name="action" value="mappinglist"/>
<input type="hidden" id="currentPage" name="currentPage"/>
	<table width="700" border="0">
		<tr style="background-color: #f7f7f7; border-top: 2px solid #cbcbcb">
			<th width="240" scope="col">依頼会員</th>
			<th width="240" scope="col">提供会員</th>
			<th scope="col">契約日</th>
			<th scope="col"></th>
			<th scope="col"></th>
		</tr>
		<%for(int i=0; i<mappinglist.length; i++){ %>
		<tr>
			<td style="border-bottom: 1px solid #e6e6e6"><%=mappinglist[i].getMap_Young_NameH()%>(<%=mappinglist[i].getMap_Young_NameK()%>) : <%=mappinglist[i].getMap_Young_Nick()%></td>
			<td style="border-bottom: 1px solid #e6e6e6"><%=mappinglist[i].getMap_Old_NameH()%>(<%=mappinglist[i].getMap_Old_NameK()%>) : <%=mappinglist[i].getMap_Old_Nick()%></td>
			<td style="border-bottom: 1px solid #e6e6e6"><%=mappinglist[i].getMap_Date()%></td>
			<td style="border-bottom: 1px solid #e6e6e6">
			<input type="button" name="Button" onclick="mappingMember('<%=mappinglist[i].getMap_Old()%>', '<%=mappinglist[i].getMap_Young()%>')" value="詳しく" /></td>
			<td style="border-bottom: 1px solid #e6e6e6">
			<input type="button" name="Button" onclick="mappingDelet('<%=mappinglist[i].getMap_Old()%>', '<%=mappinglist[i].getMap_Young()%>')" value="契約破棄" /></td>
		</tr>
		<%} %>
	</table>
	<table width="690">
	<tr align="center">
		<td><%=request.getAttribute("paging") %></td>
	</tr>
</table>
</form>
</body>
</html>